// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_WO_TASK
// * CreateDate    : 2014-06-05 18:30:23
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:23
// * LastChanger   : 2014-06-05 18:30:23
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdWoTaskTable : TableInfo
    {
		public const string C_TableName = "PROD_WO_TASK";
		
		public const string C_ID = "ID";
		public const string C_WO_ID = "WO_ID";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_TECHNIC_ID = "TECHNIC_ID";
		public const string C_USER_NO = "USER_NO";
		public const string C_REQ_QTY = "REQ_QTY";
		public const string C_REQ_TIME_FROM = "REQ_TIME_FROM";
		public const string C_REQ_TIME_TO = "REQ_TIME_TO";
		public const string C_REPORTED_QTY = "REPORTED_QTY";
		public const string C_REPORTED_BY = "REPORTED_BY";
		public const string C_REPORTED_DATE = "REPORTED_DATE";
		public const string C_WORKGROUP_NO = "WORKGROUP_NO";
		public const string C_REPORTWORK_BASE_QTY = "REPORTWORK_BASE_QTY";
		public const string C_STATUS = "STATUS";
		
		public ProdWoTaskTable()
        {
            _tableName = "PROD_WO_TASK";
        }
		
		protected static ProdWoTaskTable _current;
        public static ProdWoTaskTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdWoTaskTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_WO_ID, new ColumnInfo(C_WO_ID,"WoId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(int)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID,"TechnicId", false, typeof(string)));
            _current.Add(C_USER_NO, new ColumnInfo(C_USER_NO,"UserNo", false, typeof(string)));
            _current.Add(C_REQ_QTY, new ColumnInfo(C_REQ_QTY,"ReqQty", false, typeof(decimal)));
            _current.Add(C_REQ_TIME_FROM, new ColumnInfo(C_REQ_TIME_FROM,"ReqTimeFrom", false, typeof(DateTime)));
            _current.Add(C_REQ_TIME_TO, new ColumnInfo(C_REQ_TIME_TO,"ReqTimeTo", false, typeof(DateTime)));
            _current.Add(C_REPORTED_QTY, new ColumnInfo(C_REPORTED_QTY,"ReportedQty", false, typeof(decimal)));
            _current.Add(C_REPORTED_BY, new ColumnInfo(C_REPORTED_BY,"ReportedBy", false, typeof(string)));
            _current.Add(C_REPORTED_DATE, new ColumnInfo(C_REPORTED_DATE,"ReportedDate", false, typeof(DateTime)));
            _current.Add(C_WORKGROUP_NO, new ColumnInfo(C_WORKGROUP_NO,"WorkgroupNo", false, typeof(string)));
            _current.Add(C_REPORTWORK_BASE_QTY, new ColumnInfo(C_REPORTWORK_BASE_QTY,"ReportworkBaseQty", false, typeof(int)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo WO_ID
        {
            get { return this[C_WO_ID]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }
		
		public ColumnInfo USER_NO
        {
            get { return this[C_USER_NO]; }
        }
		
		public ColumnInfo REQ_QTY
        {
            get { return this[C_REQ_QTY]; }
        }
		
		public ColumnInfo REQ_TIME_FROM
        {
            get { return this[C_REQ_TIME_FROM]; }
        }
		
		public ColumnInfo REQ_TIME_TO
        {
            get { return this[C_REQ_TIME_TO]; }
        }
		
		public ColumnInfo REPORTED_QTY
        {
            get { return this[C_REPORTED_QTY]; }
        }
		
		public ColumnInfo REPORTED_BY
        {
            get { return this[C_REPORTED_BY]; }
        }
		
		public ColumnInfo REPORTED_DATE
        {
            get { return this[C_REPORTED_DATE]; }
        }
		
		public ColumnInfo WORKGROUP_NO
        {
            get { return this[C_WORKGROUP_NO]; }
        }
		
		public ColumnInfo REPORTWORK_BASE_QTY
        {
            get { return this[C_REPORTWORK_BASE_QTY]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

